﻿@model IEnumerable<MVC3DEMO.Models.Youtube.YouTubeVideoObject>
     

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<h2>Index</h2>

<p>

</p>


@foreach (var item in Model) {
     <object width="427" height="258">
            <param name="movie" value="http://www.youtube.com/v/@item.VideoId"></param>
            <param name="allowFullScreen" value="true"></param>
            <param name="allowscriptaccess" value="always"></param>
            <param name="wmode" value="opaque"></param>
            <embed src="http://www.youtube.com/v/@item.VideoId?" type="application/x-shockwave-flash" width="427" height="258" allowscriptaccess="always" allowfullscreen="true" wmode="opaque"></embed>
          </object>
}




